package com.lili.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lili.base.vo.ResultAPI;
import com.lili.pojo.Subject;
import com.lili.vo.request.admin.SubjectReqVO;
import com.lili.vo.response.admin.SubjectRespVO;
import com.lili.vo.response.other.KeyValue;

import java.util.*;


public interface SubjectService extends IService<Subject> {

    IPage<SubjectRespVO> getPageList(SubjectReqVO vo);

    void delByIds(Integer[] ids);

    ResultAPI<String> editSubject(Subject subject);

    List<KeyValue> getSubjectName(String subjectName);

    List<KeyValue> selectSubjects();

    Subject getSubjectById(Integer id);
}
